﻿<%@ Control language="C#" Inherits="BuyRequest.SearchBuyRequest" CodeFile="SearchRequest.ascx.cs" AutoEventWireup="true"%>
<%@ Register Src="../../controls/tm_buyRequestList.ascx" TagName="tm_buyRequestList" TagPrefix="uc3" %>
<%@ Register Src="../../controls/tm_TreeViewAdv.ascx" TagName="tm_Treeview" TagPrefix="uc1" %>
<%@ Register TagPrefix="dnn" TagName="Audit" Src="~/controls/ModuleAuditControl.ascx" %>
<script language="javascript" type="text/javascript">
// <!CDATA[


// ]]>
</script>

<center>
                <asp:Label ID="lblSearchMessage" runat="server" CssClass="titletext3" Width="100%"></asp:Label></center>
<center>
    <asp:Panel ID="pnlSearchResult" runat="server">
        <table width="100%" >
            <tr>
                <td>
                    <uc3:tm_buyRequestList ID="BuyRequestList" runat="server" />
                </td>
            </tr>
        </table>
    </asp:Panel>
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td class="table" colspan="3">
                &nbsp;</td>
        </tr>
        <tr>
            <td width="10%">
            </td>
            <td width="10%">
            </td>
            <td>
                <asp:LinkButton ID="btntimMuaHetHan" runat="server" OnClick="btntimMuaHetHan_Click" > </asp:LinkButton>
                <asp:LinkButton ID="btnTimMuaMoiDang" runat="server" OnClick="btnTimMuaMoiDang_Click" > </asp:LinkButton></td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Label ID="Label3" runat="server"   Text="Thời gian" CssClass="titletext3"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtFrDate" runat="server" MaxLength="10" Width="100px"></asp:TextBox><asp:HyperLink ID="hplTuNgay" runat="server" ImageUrl="~/images/calendar.png"></asp:HyperLink><asp:TextBox ID="txtToDate" runat="server" MaxLength="10" Width="100px"></asp:TextBox><asp:HyperLink ID="hplDenNgay" runat="server" ImageUrl="~/images/calendar.png"></asp:HyperLink></td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Label ID="Label1" runat="server"   Text="Yêu cầu" CssClass="titletext3"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtBuyRequetsName" runat="server" MaxLength="255" Width="300px"></asp:TextBox>
                </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>                <asp:Label CssClass="titletext3" ID="Label2" runat="server" Text="Mô tả"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtBuyRequestDesc" runat="server" MaxLength="255" Width="300px"></asp:TextBox></td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td>
                <asp:CheckBox ID="chkFindEachWord" runat="server" Text="Tìm từng từ"/></td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Label ID="lblUserAccount" runat="server" CssClass="titletext3"   Text="Tài khoản"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtUserAccount" runat="server" MaxLength="255" Width="100px"></asp:TextBox></td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Label ID="lblStatus" runat="server" CssClass="titletext3"   Text="Trạng thái"></asp:Label></td>
            <td>
                <asp:DropDownList
                    ID="cbStatus" runat="server">
                </asp:DropDownList>
                <asp:CheckBox ID="cbxExpire" runat="server" Text="Hết hạn" /></td>
        </tr>
        <tr>
            <td align="left" valign="top">
            </td>
            <td align="left" valign="top">
                </td>
            <td></td>
        </tr>
        <tr>
            <td align="left" valign="top">
            </td>
            <td align="left" valign="top">
            </td>
            <td>
                <asp:Button ID="btnSearch" runat="server" OnClick="btnSearch_Click" Text="Tìm"
                    ValidationGroup="a"   CssClass="btn" Width="100px" />
                <asp:Button ID="btnReset" runat="server" OnClick="btnReset_Click" Text="Làm lại"
                    ValidationGroup="a"   CssClass="btn" Width="100px" /></td>
        </tr>
        <tr>
            <td align="left" valign="top">
            </td>
            <td align="left" valign="top">
            </td>
            <td>
                <asp:Label ID="lblNotice" runat="server"></asp:Label></td>
        </tr>
        <tr>
            <td align="left" colspan="3"valign="top" class="table">
                &nbsp;</td>
        </tr>
        <tr>
            <td align="left" colspan="1" valign="top">
            </td>
            <td align="left" colspan="2" valign="top">
                &nbsp;</td>
        </tr>
        <tr>
            <td align="left" colspan="1" valign="top">
            </td>
            <td align="left" colspan="2" valign="top">
                <asp:Label ID="Label9" runat="server" CssClass="titletext3"   Text="Lĩnh vực áp dụng"></asp:Label></td>
        </tr>
        <tr>
            <td colspan="1">
            </td>
            <td colspan="2">
                <uc1:tm_Treeview ID="tvProductCat" runat="server" myHeight="200" myWidth="500" />
            </td>
        </tr>
    </table>
<asp:SqlDataSource ID="dsResultSearch" runat="server"></asp:SqlDataSource>
    <asp:Label ID="lblDebugMessage" runat="server"></asp:Label>
</center>
 
